package crawler.web.engine;

import crawler.web.beans.CrawlURL;

/**
 * @author waynechen Feb 7, 2012 9:00:29 AM
 */
public interface Frontier {
	public CrawlURL pop() throws Exception;

	public boolean put(CrawlURL url) throws Exception;

	//put方法
	void put(String key, CrawlURL value);

	//get方法
	Object get(String key);

	//delete方法
	Object delete(String key);
}
